//
//  JWRateStarView.h
//
//  Created by Xu Jiwei on 10-10-20.
//  Copyright 2010 Xujiwei.com. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface JWRateStarView : UIView {
    UIImage         *yellowStar;
    UIImage         *grayStar;
    
    float           starGap;
    float           rate;
    NSUInteger      totalStarCount;
    
    BOOL            enableRate;
}

@property (nonatomic, assign)  BOOL            enableRate;
@property (nonatomic, assign) float rate;
@property (nonatomic, assign)  NSUInteger      totalStarCount;
@property (nonatomic, assign)  float           starGap;
@property (nonatomic, retain)  UIImage         *yellowStar;
@property (nonatomic, retain)  UIImage         *grayStar;

@end
